package com.firecontroller.splash;

import android.os.Bundle;
import android.os.Handler;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.launcher.ARouter;
import com.firecontroller.R;
import com.firecontroller.common.base.BaseActivity;

@Route(path = "/app/SplashActivity")
public class SplashActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_splash);
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                ARouter.getInstance().build("/login/LoginHomeActivity").navigation();
                finish();
            }
        }, 2000);
    }
}
